package com.dragon.concurrent.demo.demo;

public abstract class OBServer {

    protected Subject subject;

    public OBServer(Subject subject) {
        this.subject = subject;
        subject.attach(this);
    }

    public abstract void update();
}
